<?php
/*******************************************************************************
 *
 *  Controller Name: 
 *
 *  Date: 
 *  
 *  Description: 
 *  
 *  Author: 
 *  
 *  Todo:
 *     NONE
 *
 *  Modification History:  
 * 
 *   Date         Name
 *  ----------   --------------
 *  2012-04-27   TRAVIS ROUS
 *  2012-04-26   TRAVIS ROUS
 *  2012-04-25   HAYDEN WAISANEN
 *  2012-04-23   HAYDEN WAISANEN
 *  2012-04-17   HAYDEN WAISANEN
 * 
 *****************************************************************************/
?>
<?
class Dashboard extends CI_Controller {
    
   public function __contruct()
   {
      parent::__consruct(); //Manually call parent contructor
      //Check for logged in use
      $this->load->library('session');
      $this->load->helper('url');
      if(!array_key_exists('UserID',$current_user))
         redirect('/user/login');
   }
   public function index()
   {
      
      $this->load->library('session');
      $this->load->helper('url');

      //Load header with menu
      $this->load->helper('dashboard_helper');
      $data['menu'] = getMenu();
      $this->load->view('headerview',$data);
      $this->load->view('cloud_page');
      $this->load->view('footerview');
      
      
      //echo '<img width="300px" src="'.base_url().'application/theme/cloud.JPG">';

      

   }
}
?>
